package com.atguigu.yygh.cmn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ybl
 * @version 1.9
 * @date 2021/5/14 14:44
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.atguigu")
@EnableDiscoveryClient // 服务注册 用于远程调用接口
public class ServiceCmnApplication {
  public static void main(String[] args) {
    SpringApplication.run(ServiceCmnApplication.class,args);
  }
}
